package org.jeecg.modules.online.config.p020b;

import org.jeecg.common.util.oConvertUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "spring.datasource.dynamic.datasource.master")
@Component("dataBaseConfig")
/* renamed from: org.jeecg.modules.online.config.b.b */
/* loaded from: hibernate-re-3.7.1-RC.jar:org/jeecg/modules/online/config/b/b.class */
public class DataBaseConfig {
    @Autowired
    private DmDataBaseConfig dmDataBaseConfig;

    /* renamed from: a */
    private String f533a;

    /* renamed from: b */
    private String f534b;

    /* renamed from: c */
    private String f535c;

    /* renamed from: d */
    private String f536d;

    /* renamed from: e */
    private Druid f537e;

    public Druid getDruid() {
        if (this.f537e == null) {
            return this.dmDataBaseConfig.getDruid();
        }
        return this.f537e;
    }

    public void setDruid(Druid druid) {
        this.f537e = druid;
    }

    public String getUrl() {
        return oConvertUtils.getString(this.f533a, this.dmDataBaseConfig.getUrl());
    }

    public void setUrl(String url) {
        this.f533a = url;
    }

    public String getUsername() {
        return oConvertUtils.getString(this.f534b, this.dmDataBaseConfig.getUsername());
    }

    public void setUsername(String username) {
        this.f534b = username;
    }

    public String getPassword() {
        return oConvertUtils.getString(this.f535c, this.dmDataBaseConfig.getPassword());
    }

    public void setPassword(String password) {
        this.f535c = password;
    }

    public String getDriverClassName() {
        return oConvertUtils.getString(this.f536d, this.dmDataBaseConfig.getDriverClassName());
    }

    public void setDriverClassName(String driverClassName) {
        this.f536d = driverClassName;
    }

    public void setDmDataBaseConfig(DmDataBaseConfig dmDataBaseConfig) {
        this.dmDataBaseConfig = dmDataBaseConfig;
    }
}
